/*
 * AbstractCommand.java
 *
 * Copyright(c) 2010
 * Michael Kroez
 * kroez@studiorutton.de
 *
 * All rights reserved.
 *
 * $Id$
 * 
 */

package de.studiorutton.gerengdic.history;

public class AbstractCommand {

	private String searchString;
	private int searchLang;
		
	public final static String SEARCH_STRING_KEY = "SearchString";
	public final static String SEARCH_LANG_KEY = "SearchLang";
	
	public final static int SEARCH_WAY_INDEXED = 1;
	public final static int SEARCH_WAY_FULLTEXT = 2;
	

	public AbstractCommand( String searchString, int searchLang ) {
		this.searchString = searchString;
		this.searchLang = searchLang;
	}
	
	public String getSearchString() {
		return searchString;
	}
	
	public int getSearchLang() {
		return searchLang;
	}
	
}
